package com.finance.system.dao;

import com.finance.framework.lang.Page;
import com.finance.framework.lang.PageResultBO;
import com.finance.system.bean.pojo.Warehouse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: gyw
 * @Date: Created in 2017-09-20
 */
@Component
public interface WarehouseMapper {

    List<Warehouse> listAll();

    List<Warehouse> list();

    String getCodeByName(@Param("warehouseName") String warehouseName);

    String getNameByCode(@Param("warehouseCode") String warehouseCode);

    List<Warehouse> listByPage(Page page);
}
